#pragma once
#include <qstring.h>
#include <memory>
#include "common.h"

class IniFileManager;

class AppConfig : public Singleton<AppConfig>
{
public:
	AppConfig();
	~AppConfig();

	void setIniFile(QString file);
	void readConfig();
	void writeAutoStart(int status);

	int getAutoStart();

private:
	std::shared_ptr<IniFileManager> ini_;

	int autoStart_;
};

